package com.mt.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.pojo.CinemaHall;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wang
 * @since 2020-12-11
 */
public interface CinemaHallService extends IService<CinemaHall> {

    IPage<CinemaHall> pageHall(int currentPage, int pageSize, String hallName, int cinemaId);
    List<CinemaHall> listAllHall(int cinemaId);
    CinemaHall getHallInfo(Integer hallId);
    boolean insertHall(CinemaHall hall);
    boolean batchInsertHall(List<CinemaHall> hallList);
    boolean modifyHall(CinemaHall hall);
    boolean deleteHall(CinemaHall hall);
}
